package nl.depository.pim.services;

import nl.depository.pim.entities.User;
import nl.depository.pim.security.AuthenticationException;

public interface Authenticator
{
	User getLoggedUser();
	
	boolean isLoggedIn();
	
	void login(String username, String password) throws AuthenticationException;
	
	void logout();
}
